import java.util.*;

public class ANN {
	aNodeFactory nf;
	ArrayList<aNode> nodes;
	public static void main(String[] args){
		ANN ann=new ANN();
		ann.createNet();
	}
	
	public ANN(){
		nf=NodeFactory.instance();
		nodes=new ArrayList<aNode>();
	}
	
	private void createNet(){
		
	}
	
	public double run(){
		double result=0;
		for(aNode node:nodes){
			result=node.activationFunction();
		}
		
		return result;
	}
}
